var windowWidth = $(window).width();
if (windowWidth < 320) {
    windowWidth = 320;
}
var aTopBack = document.querySelector('.top__back');
aTopBack.addEventListener('click',function (e) {
    window.history.back();
});